package com.kn.order.mapper;

import com.kn.order.model.Packaging;
import com.kn.order.model.PackagingExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PackagingMapper {
    long countByExample(PackagingExample example);

    int deleteByExample(PackagingExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Packaging record);

    int insertSelective(Packaging record);

    List<Packaging> selectByExample(PackagingExample example);

    Packaging selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Packaging record, @Param("example") PackagingExample example);

    int updateByExample(@Param("record") Packaging record, @Param("example") PackagingExample example);

    int updateByPrimaryKeySelective(Packaging record);

    int updateByPrimaryKey(Packaging record);
}